package com.star.mall.persistence.service;

import com.star.mall.persistence.entity.RoleAuth;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 角色权限表  服务类
 * </p>
 *
 * @author StarQ
 * @since 2021-05-02
 */
public interface IRoleAuthService extends IService<RoleAuth> {

    Set<String> getAuthKeyByRoleIds(Set<String> roleIds);

    void saveRoleAuth(List<String> authKeys, String roleId, Integer type);
}
